window.onload=function(){
    /*$(".index").toggle(function(){
        var m=this.getAttribute("index");
        $(".recruitdiv").css("display","none");
        var index=".recruit"+m;
        var indeximg=".select"+m;
       $(index).css("display","block");
        $(indeximg).css("background","url(images/select2.png) no-repeat");
    },function(){
        var m1=this.getAttribute("index");
        var index1=".recruit"+m1;
        var indeximg1=".select"+m1;
       $(index1).css("display","none");
        $(indeximg1).css("background","url(images/select.png) no-repeat");
       
        alert(1);
    }
        )
    */
	$(".technologynavp").click(function(){
  $(".friendlinkbody").css("display","block");
   $(".invest").css("display","none");
})

$(".people11").click(function(){
  $(".friendlinkbody").css("display","none");
   $(".invest").css("display","block");
}) 
//招聘信息下拉框：
    var m=0;
    var a=document.getElementsByClassName("recruitdiv");
    a[0].style.display="block";
    $(".selectalldiv").click(function(){
       
        if(m<1){
        m++;
        $(".recruitdiv").slideUp("fast");
        $(this).next(".recruitdiv").slideDown("slow");
        $(".selectimg").css("background","url(images/select.png) no-repeat");
        $(this).find("span").css("background","url(images/select2.png) no-repeat");
        }else{
            $(this).next(".recruitdiv").slideUp("slow");
            $(this).find("span").css("background","url(images/select.png) no-repeat");
            m--;
        }
    })
    
}